#include "ShapeItem.h"

ShapeItem::ShapeItem(QQuickItem *parent) :
    QQuickItem(parent)
  , m_selected(false)
{
}

void ShapeItem::setSelected(bool sel)
{
    if(sel == m_selected)
        return;

    m_selected = sel;
    emit selectedChanged(sel);
    update();
}
